var result_10 = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"", "MSG":"","DATA":""}');

var EFF_DATE;
if (betweenDay(new Date(NEW_RETAIL_EFF_DATE), new Date()) >= 0) {
    EFF_DATE = new Date();
} else {
    EFF_DATE = new Date(NEW_RETAIL_EFF_DATE);
}
if (betweenDay(EXP_DATE, EFF_DATE) >= 0
    && !isNull(NEW_RETAIL_EFF_DATE)
    && !isNull(NEW_RETAIL_EXP_DATE)) {
    result_10.CODE = 2;
    result_10.ACTION = "CHECKING_REPORT";
    result_10.MSG = "新零售生效日不可晚于新零售结束日";
}
JSON.stringify(result_10);
